package com.press.mapper;

import com.press.bean.CommentBean;
import java.util.List;
import java.util.Map;

public interface CommentMapper {
    List<CommentBean> getComment();
    List<CommentBean> getPublished();
    List<CommentBean> getCheck();
    List<CommentBean> getBinComment();
    String getcommentCount();
    String publishedCount();
    String checkCount();
    String commentBinCount();

    boolean putStick(String comment_id);
    boolean cancelStick(String comment_id);
    boolean passComment(String comment_id);
    boolean nopassComment(String comment_id);
    boolean giveTrash(String comment_id);
    boolean deleteComment(String comment_id);
    boolean deleteAll(String[] comment);

    CommentBean getCommentById(String comment_id);

    boolean addReply(Map map);
}
